<%@page contentType="text/html;charset=UTF-8"%>
<%-- <%@include file="commons/taglib.jsp" %> --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
label.error{
	color:red;
}
</style>
<script type="text/javascript" src="${ctx }/static/js/jquery.min.js"></script>
<script type="text/javascript" src="${ctx }/static/js/jquery.validate.js"></script>
<script type="text/javascript" src="${ctx }/static/js/additional-methods.js"></script>
<title>系统登录</title>
</head>
  <body style="background-image: url('../images/bg.png');color:#000000">
  <center>
  <div style="font-size: 48px;color: #FFFFFF;margin: 150px;">体温自动监控系统</div>
  <form id="loginForm" method="post" action="logIn!Check.action">
  <table cellpadding="10px">
  			<tr>
  			<td>用户名:</td>
  			<td><input class="easyui-validatebox" id="userName" name="userName" type="text" value="" style="height:28px;width:250px;"></td>
  			</tr>
  			<tr>
  			<td>密&nbsp;码:</td>
  			<td><input class="easyui-validatebox"  type="password" name="userPass" type="password" style="height:28px;width:250px;"></td>
  			</tr>
  			<tr>
  			<td></td>
  			<td><input type="submit" value="登录">
				<input type="reset" value="重置"></td>
  			</tr>
  			<tr><td colspan="2">&nbsp;</td></tr>
  			<tr>
  			<td colspan="2" align="center">Copyright 2015</td>
  			</tr>
  		</table>
  </form>
  </center>
<script type="text/javascript">
$(function(){
	$("#loginForm").validate({
		rules: {
			userPass:{
				required:true
			},			
			userName:{
				required:true,
				minlength:4
			}
		}
	});
});
</script>
</body>
</html>